home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / PRGrUtil.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.7 KB  |  55 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                PRGrUtil.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef PRGRUTIL_H
  11. #define PRGRUTIL_H
  12.  
  13. #ifndef FWRECT_H
  14. #include "FWRect.h"
  15. #endif
  16.  
  17. #ifndef FWPOINT_H
  18. #include "FWPoint.h"
  19. #endif
  20.  
  21. #ifndef SLGCONST_K
  22. #include "SLGConst.k"
  23. #endif
  24.  
  25. //========================================================================================
  26. //    Private Utilities
  27. //========================================================================================
  28.  
  29. void SL_API     FW_PrivCalcArcPoints(const FW_CPlatformRect& rect, 
  30.                                 short angle,
  31.                                 FW_CPlatformPoint& arcPoint);
  32.  
  33. //========================================================================================
  34. //    Windows Utilities
  35. //========================================================================================
  36.  
  37. #ifdef FW_BUILD_WIN
  38. void SL_API        FW_PrivWinGetDisplayColorInfo(short& planeCount, short& bitsPixel);
  39. DWORD SL_API     FW_PrivWinConvertRasterOp(FW_TransferModes transferMode);
  40. int SL_API         FW_PrivWinROP2(FW_TransferModes transferMode);
  41. #endif
  42.  
  43. //========================================================================================
  44. //    Macintosh Utilities
  45. //========================================================================================
  46.  
  47. #ifdef FW_BUILD_MAC
  48. void SL_API        FW_PrivMacGetPortTextStyle(TextStyle& theTextStyle);
  49. void SL_API        FW_PrivMacSetPortTextStyle(const TextStyle& theTextStyle);
  50. short SL_API    FW_PrivMacGetMacTransferMode(FW_TransferModes transferMode);
  51. void SL_API        FW_PrivMacSetStdColors();
  52. #endif
  53.  
  54. #endif // PRGRUTIL_H
  55.